package com.oocl.euc.dao;

import java.util.List;

import org.bson.types.ObjectId;
import org.springframework.data.domain.Page;

import com.oocl.euc.entity.Merchant;
import com.oocl.euc.pagination.BaseConditionQuery;

public interface MerchantDao {
	public Integer addMerchant(Merchant m);
	public Integer deleteMerchant(String mid);
	public Merchant findMerchantByMid(String mid);
	public List<Merchant> findAllMerchants();
	public Page<Merchant> findMerhchantWithPage(BaseConditionQuery<Merchant> baseConditionQuery);
}
